home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / mac / misc / medical / mendelge.cpt / MendelGenetics / MENDELIAN GENETICS I / card_51682.txt < prev    next >
Text File  |  1989-06-13  |  6KB  |  239 lines

  1. -- card: 51682 from stack: in
  2. -- bmap block id: 126625
  3. -- flags: 0000
  4. -- background id: 2665
  5. -- name: 
  6.  
  7.  
  8. -- part 1 (field)
  9. -- low flags: 00
  10. -- high flags: 0002
  11. -- rect: left=276 top=101 right=122 bottom=327
  12. -- title width / last selected line: 0
  13. -- icon id / first selected line: 0 / 0
  14. -- text alignment: 0
  15. -- font id: 3
  16. -- text size: 12
  17. -- style flags: 0
  18. -- line height: 16
  19. -- part name: p
  20.  
  21.  
  22. -- part 2 (button)
  23. -- low flags: 00
  24. -- high flags: 8003
  25. -- rect: left=342 top=123 right=145 bottom=442
  26. -- title width / last selected line: 0
  27. -- icon id / first selected line: 0 / 0
  28. -- text alignment: 1
  29. -- font id: 0
  30. -- text size: 12
  31. -- style flags: 0
  32. -- line height: 16
  33. -- part name: ACTIVATE
  34. ----- HyperTalk script -----
  35. on mouseUp
  36.   global pee
  37.   set numberFormat to "0.0000"
  38.   put the value of (card field p) into pee
  39.   put the value of (1 - card field p) into card field q
  40.   put the value of (pee^2) into card field pp
  41.   put the value of (pee * (1-pee)) into card field pqa
  42.   put the value of (pee * (1-pee)) into card field pqb
  43.   put the value of ((1-pee)^2) into card field qq
  44. end mouseUp
  45.  
  46.  
  47.  
  48. -- part 3 (field)
  49. -- low flags: 00
  50. -- high flags: 0000
  51. -- rect: left=320 top=223 right=246 bottom=370
  52. -- title width / last selected line: 0
  53. -- icon id / first selected line: 0 / 0
  54. -- text alignment: 0
  55. -- font id: 3
  56. -- text size: 12
  57. -- style flags: 0
  58. -- line height: 16
  59. -- part name: pp
  60.  
  61.  
  62. -- part 4 (field)
  63. -- low flags: 00
  64. -- high flags: 0000
  65. -- rect: left=319 top=282 right=305 bottom=369
  66. -- title width / last selected line: 0
  67. -- icon id / first selected line: 0 / 0
  68. -- text alignment: 0
  69. -- font id: 3
  70. -- text size: 12
  71. -- style flags: 0
  72. -- line height: 16
  73. -- part name: pqb
  74.  
  75.  
  76. -- part 5 (field)
  77. -- low flags: 00
  78. -- high flags: 0000
  79. -- rect: left=372 top=224 right=247 bottom=422
  80. -- title width / last selected line: 0
  81. -- icon id / first selected line: 0 / 0
  82. -- text alignment: 0
  83. -- font id: 3
  84. -- text size: 12
  85. -- style flags: 0
  86. -- line height: 16
  87. -- part name: pqa
  88.  
  89.  
  90. -- part 6 (field)
  91. -- low flags: 00
  92. -- high flags: 0000
  93. -- rect: left=372 top=282 right=305 bottom=422
  94. -- title width / last selected line: 0
  95. -- icon id / first selected line: 0 / 0
  96. -- text alignment: 0
  97. -- font id: 3
  98. -- text size: 12
  99. -- style flags: 0
  100. -- line height: 16
  101. -- part name: qq
  102.  
  103.  
  104. -- part 7 (button)
  105. -- low flags: 00
  106. -- high flags: 8003
  107. -- rect: left=341 top=71 right=92 bottom=424
  108. -- title width / last selected line: 0
  109. -- icon id / first selected line: 0 / 0
  110. -- text alignment: 1
  111. -- font id: 0
  112. -- text size: 12
  113. -- style flags: 0
  114. -- line height: 16
  115. -- part name: RESET
  116. ----- HyperTalk script -----
  117. on mouseUp
  118.   delete line 1 of card field p
  119.   delete line 1 of card field q
  120.   delete line 1 of card field pp
  121.   delete line 1 of card field pqa
  122.   delete line 1 of card field pqb
  123.   delete line 1 of card field qq
  124.   get the location of card field p
  125.   click at it
  126. end mouseUp
  127.  
  128.  
  129.  
  130. -- part 8 (button)
  131. -- low flags: 00
  132. -- high flags: 8003
  133. -- rect: left=205 top=315 right=337 bottom=256
  134. -- title width / last selected line: 0
  135. -- icon id / first selected line: 0 / 0
  136. -- text alignment: 1
  137. -- font id: 0
  138. -- text size: 12
  139. -- style flags: 0
  140. -- line height: 16
  141. -- part name: NEXT
  142. ----- HyperTalk script -----
  143. on mouseUp
  144.   go to next card
  145. end mouseUp
  146.  
  147.  
  148.  
  149. -- part 9 (button)
  150. -- low flags: 00
  151. -- high flags: 8003
  152. -- rect: left=149 top=314 right=337 bottom=199
  153. -- title width / last selected line: 0
  154. -- icon id / first selected line: 0 / 0
  155. -- text alignment: 1
  156. -- font id: 0
  157. -- text size: 12
  158. -- style flags: 0
  159. -- line height: 16
  160. -- part name: PREV.
  161. ----- HyperTalk script -----
  162. on mouseUp
  163.   go back
  164. end mouseUp
  165.  
  166.  
  167.  
  168. -- part 10 (field)
  169. -- low flags: 00
  170. -- high flags: 0002
  171. -- rect: left=276 top=158 right=179 bottom=327
  172. -- title width / last selected line: 0
  173. -- icon id / first selected line: 0 / 0
  174. -- text alignment: 0
  175. -- font id: 3
  176. -- text size: 12
  177. -- style flags: 0
  178. -- line height: 16
  179. -- part name: q
  180.  
  181.  
  182. -- part contents for background part 1
  183. ----- text -----
  184. POPULATION GENETICS
  185.  
  186. -- part contents for background part 2
  187. ----- text -----
  188. The emphasis in population genetics is how gene flow through a population from generation to generation is affected by both external and internal selection factors. A key analytical tool is the Hardy-Weinberg Law which in its simplest form can be seen at the right in diagram A.  It represents the relationship between gene and phenotypic frequencies in a population for a given set of genes. You will note that the expression describes the gene frequency in a Punnett Square. One can test this relationship and learn a great deal about the frequency of genotypes as a function of gene frequencies by running the little exercise on the right several times. Place in the "p" gene frequency box a number between 0 and 1. Then hit the activate button. Run the exercise several times with different p values and then answer the following questions. 
  189.    
  190.   1. p + q always equal what?
  191.   Answer:
  192.  
  193.  
  194.   2. Homozygous dominant genotypes in a population bear what relationship to the dominant gene frequency?
  195.   Answer:
  196.  
  197.  
  198.  
  199.   3. Heterozygous genotypes bear what relationship to the dominant and recessive gene frequencies?
  200.   Answer:
  201.  
  202.  
  203.  
  204. BELOW THIS POINT ARE THE ANSWERS. SCROLL DOWN THE WINDOW.
  205.  
  206. 1. p + q =1
  207. 2. Homozygous dominant genotypes are the square of the dominant gene frequency. Homozygous recessive genotypes are the square of the recessive gene frequency. 
  208. 3. Heterozygous genotypes are twice the product of the dominant times recessive gene frequencies.
  209.  
  210. Although these calculations are quite straight forward, they can become difficult and confusing if continued for several generations when, for example, the recessive gene was being selected against by natural selection factors. Go to the next card for help in determining these changes.
  211.  
  212.  
  213. -- part contents for background part 8
  214. ----- text -----
  215. 58
  216.  
  217. -- part contents for card part 10
  218. ----- text -----
  219. 0.8000
  220.  
  221. -- part contents for card part 1
  222. ----- text -----
  223. .2
  224.  
  225. -- part contents for card part 3
  226. ----- text -----
  227. 0.0400
  228.  
  229. -- part contents for card part 5
  230. ----- text -----
  231. 0.1600
  232.  
  233. -- part contents for card part 4
  234. ----- text -----
  235. 0.1600
  236.  
  237. -- part contents for card part 6
  238. ----- text -----
  239. 0.6400